﻿using BonjourQuotation.UI.Models.BaseModel;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Web;
using System.Web.WebPages.Html;

namespace BonjourQuotation.UI.Models.SetupModel
{
    public class SetupManageQuotationsGridViewModel : UserAllPermissionsViewModel
    {
        public List<SetupManageQuotationsGridRowViewModel> Rows { get; set; }
        [DisplayName("Code:")]
        public string QuotaCodeText { get; set; }
        [DisplayName("Name:")]
        public string QuotaNameText { get; set; }
        [DisplayName("ID:")]
        public string QuotaIDText { get; set; }
        public int QuotaID { get; set; }
        [DisplayName("Confirmed:")]
        public List<SelectListItem> ConfirmedSearch { get; set; }
        public bool? IsConfirmedSearch { get; set; }
        [DisplayName("Active:")]
        public List<SelectListItem> ActiveSearch { get; set; }
        public bool? IsActiveSearch { get; set; }
        public int PageNum { get; set; }
        public bool IsSearch { get; set; }
        public bool IsCanView { get; set; }
        public string Message { get; set; }
    }
    public class SetupManageQuotationsGridRowViewModel
    {
        public string QuotaID { get; set; }
        public string QuotaCode { get; set; }
        public string QuotaName { get; set; }
        public bool IsConfirmed { get; set; }
        public bool IsActive { get; set; }
        public string Message { get; set; }
    }
}